package com.lemon.components.wechart;

import com.lemon.components.wechart.impl.WechartUserServiceImpl;
import com.lemon.components.wechart.result.user.WechartToken;

public class GetTokenMain {
	
	public static void main(String[] args) {
		String appid="wxd7c999686574d0b9";
		String appsecret="5e7fecd478c066b286c803d91ac23b8e";
		WechartUserService userService = new WechartUserServiceImpl();
		WechartToken token = userService.getToken(appid, appsecret);
		System.out.println("获得token："+token.toString());
	}

}
